/**  
* @Title: BookPunish.java  
* @Package com.ssm.demo.model  
* @Description: TODO(用一句话描述该文件做什么)  
* @author jing Lei 
* @date 2018年12月31日  
* @version V1.0  
*/  

package com.ssm.demo.model;

/**  
* @ClassName: BookPunish  
* @Description: BookPunish 损毁赔偿表  
* @author jing Lei  
* @date 2018年12月31日  
*    
*/

public class BookPunish extends BaseModel{

	/**  
	* @Fields field:field:{todo}(用一句话描述这个变量表示什么)  
	*/  
	
	private static final long serialVersionUID = -2317698986937700012L;
    /**
     * 书籍id
     */
	private int bookId;
	/**
	 * 管理员id
	 */
	private int managerId;
	/**
	 * 学生id
	 */
	private int studentId;
	/**
	 * 损毁原因
	 */
	private String damageReason;
	/**
	 * 赔偿价格
	 */
	private Double compensationPrice;
	/**  
	* 创建一个新的实例 BookPunish.  
	*  
	* @param bookId
	* @param mangerId
	* @param studentId
	* @param damageReason
	* @param compensationPrice  
	*/  
	public BookPunish(){
		
	}
	/**  
	* 创建一个新的实例 BookPunish.  
	*  
	* @param bookId
	* @param mangerId
	* @param studentId
	* @param damageReason
	* @param compensationPrice  
	*/  
	
	public BookPunish(int bookId, int managerId, int studentId, String damageReason, Double compensationPrice) {
		super();
		this.bookId = bookId;
		this.managerId = managerId;
		this.studentId = studentId;
		this.damageReason = damageReason;
		this.compensationPrice = compensationPrice;
	}
	
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public int getManagerId() {
		return managerId;
	}
	public void setManagerId(int managerId) {
		this.managerId = managerId;
	}
	public int getStudentId() {
		return studentId;
	}
	public void setStudentId(int studentId) {
		this.studentId = studentId;
	}
	public String getDamageReason() {
		return damageReason;
	}
	public void setDamageReason(String damageReason) {
		this.damageReason = damageReason;
	}
	public Double getCompensationPrice() {
		return compensationPrice;
	}
	public void setCompensationPrice(Double compensationPrice) {
		this.compensationPrice = compensationPrice;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	
}
